package com.hqyj.dao;

import com.hqyj.pojo.Cource;

import java.util.List;

public interface CourceMapper {
    int deleteByPrimaryKey(Long cId);

    int insert(Cource record);

    int insertSelective(Cource record);

    Cource selectByPrimaryKey(Long cId);

    int updateByPrimaryKeySelective(Cource record);

    int updateByPrimaryKey(Cource record);

    List<Cource> selectDnameAndCname(Cource cource);

    List<Cource> selectByDId(Long dId);

    List<Cource> selectAll();
    int courceAdd(Cource cource);
    int courceUpdate(Cource cource);
    int courceDel(Cource cource);
}